/***********************************************************
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License
 **********************************************************/
@import "../../css/themes";
@import "../../css/variables";

.home-view-message-bar {
    margin-top: -32px;
}

.home-view {
    display: inline-block;
    width: 100%;
    @media screen and (min-width: $screenSize) {
        .nav {
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            width: 20%;
            float: left;
            @include themify($themes) {
                border: {
                    right: {
                        width: 1px;
                        style: solid;
                        color: themed("navBarBorderColor");
                    }
                    bottom: none;
                }
            }
        }
        .nav.collapsed {
            width: 40px;

            .ms-Nav-linkText {
                display: none;
            }
        }
        .home-content {
            transition: margin-left 0.5s;
            margin: 0;
            margin-left: calc(20% + 1px);
        }
        .home-content.collapsed {
            margin-left: calc(40px + 1px);
        }
    }
    @media screen and (max-width: $screenSize) {
        .nav.collapsed {
            nav.ms-Nav {
                display: none;
            }
        }
    }
    .nav {
        transition: all 0.5s;
    }
}
